function get_mql(){
	return '	{"query":[{'+
				'"/business/company/company_type":[{'+
					'"name":null,'+
					'"optional":"forbidden"'+
				'}],'+
				'"guid":null,'+
				'"name":null,'+
				'"limit":10000,'+
				'"id":null,'+
				'"/common/topic/webpage":[{"*":null,"optional":true}],'+				
				'"type":"/base/bioventurist/science_or_technology_company"'+
				'}]}';
}

function get_properties(){
	var p = Object();
	p.post_command = "write_multi_vals/";
	p.topic1_property = "/business/company/company_type";
	p.submit1_name = "Publicly listed company";
	p.submit1_id = "/en/publicly_listed_company";
	p.submit2_name = "Privately Held Company";
	p.submit2_id = "/guid/9202a8c04000641f8000000003cae975";
	
	p.button1_name = "Public";
	p.button2_name = "Private";
	p.bvr_url = "/company/"
	
	p.generate_mt_text = function(name,data){
		var s = generate_mt_text(name,data)
		return s;
	};
	
	return p;
}

function generate_mt_text(name, data){
	var s = "HINT: Try looking at "+name+"'s website and see if they are traded on a stock exchange: ";
	if(data.website.length>0){
		s += '<a href="'+data.website[0].uri+'" target="_blank">'+name+'</a>';
	} else {
		s += '<a href="http://www.google.ca/search?q='+name+' "target="_blank">'+name+'</a>';
	}
	return s;
}